using System.Runtime.Serialization;
using YunBox2.Contracts.Core;

namespace YunBox2.Contracts.FoundationModels
{
	[DataContract]
	public class Phone:BizObject
	{
		[DataMember]
		private PhoneType _type;
		[DataMember]
		private string _number;


		public virtual PhoneType Type
		{
			get
			{
				return _type;
			}
			set
			{
				_type = value;
			}
		}

		public virtual string Number
		{
			get
			{
				return _number;
			}
			set
			{
				_number = value;
			}
		}
	}
}
